package com.syq.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author syq
 * @since 2022-07-21
 */
@TableName("bed")
public class Bed implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "bed_id", type = IdType.AUTO)
    private Integer bedId;

    private String bedName;

    private Integer departmentId;

    private Integer state;

    private Double price;

    public Integer getBedId() {
        return bedId;
    }

    public void setBedId(Integer bedId) {
        this.bedId = bedId;
    }
    public String getBedName() {
        return bedName;
    }

    public void setBedName(String bedName) {
        this.bedName = bedName;
    }
    public Integer getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Integer departmentId) {
        this.departmentId = departmentId;
    }
    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "Bed{" +
            "bedId=" + bedId +
            ", bedName=" + bedName +
            ", departmentId=" + departmentId +
            ", state=" + state +
            ", price=" + price +
        "}";
    }
}
